package com.game.doudizhu.model;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GameMessage {
    private String type;
    private String content;
    private Object data;

    public GameMessage(String type, String content) {
        this.type = type;
        this.content = content;
        this.data = null;
    }
}